<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Students</title>
</head>
<body>
<h1>Students</h1>
<table>
    <thead>
    <tr>
        <th>Job Number</th>
        <th>Name</th>
        <th>Sex</th>
        <th>ID</th>
    </tr>
    </thead>
    <tbody>
    <!-- Iterate over the list of students and display each student -->
    <tr th:each="student : ${students}">
        <td th:text="${student.jobNumber}">Job Number</td>
        <td th:text="${student.name}">Name</td>
        <td th:text="${student.sex}">Sex</td>
        <td th:text="${student.ID}">ID</td>
    </tr>
    </tbody>
</table>
</body>
</html>
